package com.jspgou.cms.manager;

import java.util.List;

import com.jspgou.cms.entity.StoreModel;
import com.jspgou.common.page.Pagination;

public interface StoreModelMng {
	public Pagination getPage(int pageNo, int pageSize);

	public StoreModel findById(Long id);
	
	public List<StoreModel> getList();
	
	public StoreModel getByDefaultModel(Boolean defaultModel);

	public StoreModel save(StoreModel bean);

	public StoreModel update(StoreModel bean);
	
	public StoreModel[] updateStoreModels(Long[] ids,Boolean[] defaultModels);

	public StoreModel deleteById(Long id);
	
	public StoreModel[] deleteByIds(Long[] ids);
	
}